<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
  <script src="vue.js"></script>
</head>
<body>
<div id="app">
  <button @click="bbb">123123</button>
  <ul>
    <li v-for="item in aaa">{{$data.$$state}}<my-component-name/></li>
  </ul>
</div>
<script type="text/javascript">
Vue.component('my-component-name', { render:function(h) {
    console.log('my-component-name')
    return h('h1', '123123')
  }})
  let aaa = new Vue({
    el: '#app',
    data: {
      aaa: [1,2,3,4,5],
      $$state: '$$state'
    },
    methods: {
      bbb() {
        this.$data.$$state='123123'
        this.aaa.shift()
      }
    },
    beforeUpdate() {
      console.log('beforeUpdate')
    }
  })
</script>
</body>
</html>
